using System;
using System.Collections.Generic;
using System.Text;

namespace XProject.Entity
{
   public class NoteItem
    {
       int id;
       NoteType type;
       string content;
       Account account;
       bool isPublic;
       DateTime modifiedDate;
       string note;
       #region constructors
       public NoteItem()
       {
           id = -1;
           type = new NoteType();
           content = "";
           account = new Account();
           isPublic = false;
           modifiedDate = new DateTime();
           note = "";
       }
       #endregion
       #region properties
       public int NoteID
       {
           get { return id; }
           set { id = value; }
       }
       public NoteType Type
       {
           get { return type; }
           set { type = value; }
       }
       public string Content
       {
           get { return content; }
           set { content = value; }
       }
       public Account Owner
       {
           get { return account; }
           set { account = value; }
       }
       public bool IsPublic
       {
           get { return isPublic; }
           set { isPublic = value; }
       }
       public DateTime ModifiedDate
       {
           get { return modifiedDate; }
           set { modifiedDate = value; }
       }
       public string Note
       {
           get { return note; }
           set { note = value; }
       }

       #endregion
       #region methods
       #endregion
   }
}
